
public class Joueur
//TODO recrue, capitaine, assistants
{
	private String  nom;
	private String  position;
	private int     con;
	private String  ij;
	private int     potentiel;
	private int     age;
	private int     salaire;
	private int     contrat;
	private String  pays;
	private int     poids;
	private int     grandeur;
	private int     blessures;
	private int     id;
	private static int tempId = 1;

	/*Constructeurs*/

	public Joueur(String nom, String position, int con, String ij,
			int potentiel, int age, int salaire, 
			int contrat, String pays, int poids,
			int grandeur, int blessures){
		this.id = tempId;
		this.nom       = nom;
		this.position  = position;
		this.con       = con;
		this.ij        = ij;
		this.potentiel = potentiel;
		this.age       = age;
		this.salaire   = salaire;
		this.contrat   = contrat;
		this.pays      = pays;
		this.poids     = poids;
		this.grandeur  = grandeur;
		this.blessures = blessures;
		tempId++;
	}
	
	public int getId(){
		return id;
	}
	
	public void setId (int id){
		this.id = id;
	}
	
	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public int getCon() {
		return con;
	}

	public void setCon(int con) {
		this.con = con;
	}

	public String getIj() {
		return ij;
	}

	public void setIj(String ij) {
		this.ij = ij;
	}

	public int getPotentiel() {
		return potentiel;
	}

	public void setPotentiel(int potentiel) {
		this.potentiel = potentiel;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public int getSalaire() {
		return salaire;
	}

	public void setSalaire(int salaire) {
		this.salaire = salaire;
	}

	public int getContrat() {
		return contrat;
	}

	public void setContrat(int contrat) {
		this.contrat = contrat;
	}

	public String getPays() {
		return pays;
	}

	public void setPays(String pays) {
		this.pays = pays;
	}

	public int getPoids() {
		return poids;
	}

	public void setPoids(int poids) {
		this.poids = poids;
	}

	public int getGrandeur() {
		return grandeur;
	}

	public void setGrandeur(int grandeur) {
		this.grandeur = grandeur;
	}

	public int getBlessures() {
		return blessures;
	}

	public void setBlessures(int blessures) {
		this.blessures = blessures;
	}
	
	public void afficherJoueur(){
		System.out.println("Nom : "+nom);
		System.out.println("Position : ");
		System.out.println("Condition : "+con);
		System.out.println(ij);
		System.out.println(potentiel);
		System.out.println(age);
		System.out.println(salaire);
		System.out.println(contrat);
		System.out.println(pays);
		System.out.println(poids);
		System.out.println(grandeur);
		System.out.println(blessures);	
	}
	

}	
